package org;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class ActiontoRequest {

	protected final Log logger=LogFactory.getLog(this.getClass());
	
	@RequestMapping(value="/home.htm")
	public ModelAndView respuestaclie(HttpServletResponse resp, 
									  HttpServletRequest req)throws ServletException, IOException{
		
		logger.info("Corriendo . . .");
		
		return new ModelAndView("home.jsp");
		
	}
	
	
}
